package com.hzdl.apple.bean.cart;

import java.io.Serializable;

/**
 * 购物车项
 */
public class CartItem implements Serializable {
	// 添加商品照片名等信息
	private int CID;
	private int GoodsID;
	private String GoodsName;
	private double GoodsPrice;
	private int nums = 1;
	private double AllPrice;
	private int UID;// 用户id
	private String GoodsImg;
	private String GoodsColor;
	private double GoodsInch;// 英寸
	private String IPadConn;// 连接方式-pad
	private int MacDisc;// 硬盘大小-mac专有

	public CartItem(int goodsID, String goodsName, double goodsPrice, int uID, String goodsImg, String goodsColor,
			double goodsInch, String iPadConn, int macDisc) {
		super();
		GoodsID = goodsID;
		GoodsName = goodsName;
		GoodsPrice = goodsPrice;
		UID = uID;
		GoodsImg = goodsImg;
		GoodsColor = goodsColor;
		GoodsInch = goodsInch;
		IPadConn = iPadConn;
		MacDisc = macDisc;
	}

	public double getGoodsInch() {
		return GoodsInch;
	}

	public int getCID() {
		return CID;
	}

	public void setCID(int cID) {
		CID = cID;
	}

	public void setGoodsInch(double goodsInch) {
		GoodsInch = goodsInch;
	}

	public String getGoodsImg() {
		return GoodsImg;
	}

	public void setGoodsImg(String goodsImg) {
		GoodsImg = goodsImg;
	}

	public String getGoodsColor() {
		return GoodsColor;
	}

	public void setGoodsColor(String goodsColor) {
		GoodsColor = goodsColor;
	}

	public String getIPadConn() {
		return IPadConn;
	}

	public void setIPadConn(String iPadConn) {
		IPadConn = iPadConn;
	}

	public int getMacDisc() {
		return MacDisc;
	}

	public void setMacDisc(int macDisc) {
		MacDisc = macDisc;
	}

	public CartItem() {
		super();
	}

	public int getGoodsID() {
		return GoodsID;
	}

	public void setGoodsID(int goodsID) {
		GoodsID = goodsID;
	}

	public String getGoodsName() {
		return GoodsName;
	}

	public void setGoodsName(String goodsName) {
		GoodsName = goodsName;
	}

	public double getGoodsPrice() {
		return GoodsPrice;
	}

	public void setGoodsPrice(double goodsPrice) {
		GoodsPrice = goodsPrice;
	}

	public int getNums() {
		return nums;
	}

	public void setNums(int nums) {
		this.nums = nums;
	}

	public double getAllPrice() {
		return AllPrice;
	}

	public void setAllPrice(double allPrice) {
		AllPrice = allPrice;
	}

	public int getUID() {
		return UID;
	}

	public void setUID(int uID) {
		UID = uID;
	}

	@Override
	public String toString() {
		return "CartItem [CID=" + CID + ", GoodsID=" + GoodsID + ", GoodsName=" + GoodsName + ", GoodsPrice="
				+ GoodsPrice + ", nums=" + nums + ", AllPrice=" + AllPrice + ", UID=" + UID + ", GoodsImg=" + GoodsImg
				+ ", GoodsColor=" + GoodsColor + ", GoodsInch=" + GoodsInch + ", IPadConn=" + IPadConn + ", MacDisc="
				+ MacDisc + "]";
	}

}
